//
//  PayManager.h
//  FashionCoachTest
//
//  Created by px on 16/12/21.
//  Copyright © 2016年 zsr. All rights reserved.
//

#import <Foundation/Foundation.h>


/**
 支付状态
 - LCPayStatus_SUCC: LCPayStatus_SUCC
 */
typedef NS_ENUM(NSInteger, LCPayStatus) {
    LCPayStatus_SUCC = 0,//支付成功
    LCPayStatus_FAILURE,//支付失败
};


@interface PayManager : NSObject
+ (id)sharePayManager;


- (void)startPayRequest:(NSInteger)payType Pid:(NSString *)pid;

- (void)startNewPayRequest:(NSInteger)payType Pid:(NSString *)pid;

//支付宝
- (void)startAliPay:(NSDictionary *)order;

//微信
- (void)startWXPay:(NSString *)timestamp withPartnerId:(NSString *)partnerId withPrepayId:(NSString *)prepayId withNonceStr:(NSString *)nonceStr withPackage:(NSString *)package withSign:(NSString *)sign;

@end
